// 最新资讯
import { http } from "@/utils/http";
// 资讯列表
export const getNewsList = (data: any) => {
  return http.get<any>(`/news/list`, data);
};
// 删除
export const newsRemove = (data: any) => {
  return http.post2<any>(`/news/remove`, data);
};
// 修改
export const newsSubmit = (data: any) => {
    return http.post<any>(`/news/update`, data);
  };
